package com.aos.erp.schools.model.student.vo.field;

import com.aos.erp.schools.enums.student.FieldStatus;
import com.aos.erp.schools.enums.student.InnerStatus;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: chb
 * @Date: 2018/11/18 17:59
 * @Description:
 */
@Data
public class StudentFieldVo  implements Serializable {

    @ApiModelProperty("学员id")
    private long studentId;
    @ApiModelProperty("报名机构")
    private String driverName;
    @ApiModelProperty("学员编号")
    private String studentNumber;
    @ApiModelProperty("学员姓名")
    private String studentName;
    @ApiModelProperty("证件号码")
    private String certificatesNumber;
    @ApiModelProperty("证件类型")
    private String sfTypeName;
    @ApiModelProperty("准驾车型")
    private String carName;
    @ApiModelProperty("上科考试时间")
    private Date lastTimeExam;
    @ApiModelProperty("考试次数")
    private long degree;
    @ApiModelProperty("是否合格")
    private FieldStatus fieldStatus=FieldStatus.noResult;

    @ApiModelProperty("考试时间")
    private Date examTime;

    public String getFieldStatusName() {
        return fieldStatus.getDesc();
    }
}
